<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib prefix="gears" uri="http://kyub.com/jsp/jstl/crud" %>

<tiles:insertTemplate template="/tiles/classic.jsp">

    <tiles:putAttribute name="scripts">
   <gears:formScripts />

</tiles:putAttribute>
<tiles:putAttribute name="body">
   <div>
     <gears:form pojoDescriptor="${pojoDescriptor}" pojo="${commandPojo}" relatedValues="${related}" gears_restfull_prefix="${gears_restfull_prefix}" actionName="pet/contestualAdd"  />
   </div>

   <div>
       <gears:list pojoDescriptor="${pojoDescriptor}" pojoList="${pojoList}" gears_restfull_prefix="${gears_restfull_prefix}" />
   </div>

    </tiles:putAttribute>

    </tiles:insertTemplate>